package iedcyt.acute.dataAccess.dao.maauco;

import iedcyt.acute.dataAccess.domain.maauco.Au0;
import iedcyt.acute.dataAccess.domain.maauco.Co0;
import iedcyt.acute.dataAccess.utils.Pair;

import java.sql.ResultSet;
import java.sql.SQLException;

import org.springframework.jdbc.core.RowMapper;

public class AupioRowMapper implements RowMapper<Pair<Au0, Co0>> {

	@Override
	public Pair<Au0, Co0> mapRow(ResultSet rs, int line) throws SQLException {
		AupioResultSetExtractor extractor = new AupioResultSetExtractor();
		return extractor.extractData(rs);
	}

}

